package ro.gillardon.commons.hotel;

import ro.gillardon.commons.OfferDetails;
import ro.gillardon.commons.Price;
import ro.gillardon.commons.enums.City;
import ro.gillardon.commons.enums.DayType;
import ro.gillardon.commons.enums.RoomType;
/**
 * Hotel offer details class.
 *
 * @author lorinczi
 */
public class HotelOfferDetails extends OfferDetails {

  private RoomType roomType;
  private DayType dayType;
  private City location;
  private String name;

  /**
   * Public constructor with arguments.
   */
  public HotelOfferDetails(final Price price, final RoomType roomType, final DayType dayType,
    final City location, final String name) {
    super(price);
    this.roomType = roomType;
    this.dayType = dayType;
    this.location = location;
    this.name = name;
  }

  /**
   * Public constructor without arguments.
   */
  public HotelOfferDetails() {
    //constructor without parameters
  }

  public RoomType getRoomType() {
    return this.roomType;
  }

  public void setRoomType(final RoomType roomType) {
    this.roomType = roomType;
  }

  public DayType getDayType() {
    return this.dayType;
  }

  public void setDayType(final DayType dayType) {
    this.dayType = dayType;
  }

  public City getLocation() {
    return this.location;
  }

  public void setLocation(final City location) {
    this.location = location;
  }

  public String getName() {
    return this.name;
  }

  public void setName(final String name) {
    this.name = name;
  }

}
